home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000351_fdc@watsun.cc.columbia.edu_Fri Aug 31 18:20:43 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2001-09-20
|
2KB
|
41 lines
Article: 12735 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to capture only text data with Kermit
Date: 31 Aug 2001 22:20:36 GMT
Organization: Columbia University
Lines: 24
Message-ID: <9mp2jk$mgc$1@newsmaster.cc.columbia.edu>
References: <3B8FE7BA.9967C8DB@abrinco.com.ar> <9mopiv$gih$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 999296436 23052 128.59.39.2 (31 Aug 2001 22:20:36 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 31 Aug 2001 22:20:36 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12735
In article <9mopiv$gih$1@newsmaster.cc.columbia.edu>,
Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
: In article <3B8FE7BA.9967C8DB@abrinco.com.ar>,
: Marcelo P. Larumbe <marcelo@abrinco.com.ar> wrote:
: : I am user of Kermit 7.0.196 for Linux and I need to capture text data
: : without any escape sequences. I would much appreciate if somebody could
: : tell me how to do it.
: :
: There is no way built in to C-Kermit to do this. Although it does have
: "set session-log text", this mainly just strips out carriage returns and
: NULs, not escape sequences.
:
: If they are standard ANSI-format escape sequences, it would not be hard
: to write a postprocessor to strip them out of the session log based on the
: finite state machine in ckucns.c (look at routine chkaes()). This would
: be a nice little project for a bored C programmer :-)
:
It turns out Jeff Altman had already done this and had it squirreled away,
so I added to the Web/FTP site:
http://www.columbia.edu/kermit/utils.html
ftp://kermit.columbia.edu/kermit/utils/rmescseq.c
- Frank